$(document).ready(function(){
	//初始化表格
	$('#dataGridTable').datagrid({
		url:'sys/findOnlineUsers.action',
		fit:true, 
		rownumbers:true, 
		singleSelect:true, 
		fitColumns:false,
		striped:true,
		columns:[[ 
		   {field:'workNumber',title:'工号',width:80,align:'center'},
           {field:'userName',title:'用户名',width:80,align:'center'}, 
           {field:'realName',title:'真实姓名',width:70,align:'center'},
           {field:'mobileNum',title:'手机号码',width:90,align:'center'},
           {field:'userEmail',title:'电子邮箱',width:130,align:'center'},
           {field:'loginIp',title:'登录IP',width:90,align:'center'},
           {field:'loginTime',title:'登录时间',width:130,align:'center'},
         ]]
	});	

});
